chore: bump MongoDB Java driver to v5.10 - #129
Open
tmcneil-mdb wants to merge 2 commits into
Open
Conversation
…ort new spring version.
cbullinger
approved these changes
Aug 19, 2026
cbullinger
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. thanks @tmcneil-mdb!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
mflix/server/java-spring/pom.xmlmflix/server/java-spring/src/main/java/com/mongodb/samplemflix/config/ObjectMapperConfig.java— replace the manualObjectMapper/JsonFactorybeans with aJackson2ObjectMapperBuilderCustomizer, since Spring Boot 4.1 no longer auto-wires a standalone JsonFactory bean the old way.mflix/server/java-spring/src/main/resources/application.properties— pinspring.http.converters.preferred-json-mapper=jackson2so HTTP message conversion keeps using Jackson 2 (needed for the custom ObjectId serializer) instead of the new Jackson 3 default in Spring 4.1.Test plan
./mvnw dependency:tree '-Dincludes=org.mongodb:*'resolvesmongodb-driver-sync:5.10.0./mvnw test— 93/93 tests pass (unit + MongoDB search integration tests against Atlas)Tech Reviewer Suggestions
This report cross-references PR #129 against the MongoDB Java Driver 5.10.0 release notes. The PR bumps the driver from 5.9.0 to 5.10.0, along with a Spring Boot 4.0.6 → 4.1.0 bump that forced a collateral rewrite of the ObjectMapper configuration (Spring Boot 4.1 no longer autowires a standalone
JsonFactorybean, and defaults HTTP JSON conversion to Jackson 3).Confidence: medium. The driver version bump itself has no code changes to verify against (it's a dependency string), and the release notes show no breaking changes this app's code path depends on. Confidence is capped at medium because Mode B relies on release notes, not a diff.
Testing status: No code examples changed; PR description states 93/93 tests pass, including MongoDB search integration tests against Atlas.
Suggested areas of investigation:
Jackson2ObjectMapperBuilderCustomizerrewrite plus the newspring.http.converters.preferred-json-mapper=jackson2property are unrelated to the driver bump but change how ObjectId/date serialization is wired. Check that these fully replicate the oldObjectMapper/JsonFactorybean behavior rather than just passing the existing test suite by coincidence.Tech Reviewer Suggestions generated by the pr-coverage-check skill and reviewed by the author. These are suggestions and require human review.